import React, { Component } from 'react'
// import Demo from './components/SetState'
// import LazyLoad from './components/LazyLoad'
// import Hooks from './components/Hooks'
// import FragmentDemo from './components/Fragment'
// import Context from './components/Context'
// import Optimize from './components/Optimize'
// import RenderProps from './components/RenderProps'
import ErrorBoundary from './components/ErrorBoundary'

export default class App extends Component {
    render() {
        return (
            <div className="app">
                {/* <Demo/> */}
                {/* <LazyLoad/> */}
                {/* <Hooks/> */}
                {/* <FragmentDemo></FragmentDemo> */}
                {/* <Context/> */}
                {/* <Optimize/> */}
                {/* <RenderProps/> */}
                <ErrorBoundary/>
            </div>
        )
    }
}
